package com.igeekhome.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DCommissionMaintenanceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DCommissionMaintenanceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSerialIdIsNull() {
            addCriterion("serial_id is null");
            return (Criteria) this;
        }

        public Criteria andSerialIdIsNotNull() {
            addCriterion("serial_id is not null");
            return (Criteria) this;
        }

        public Criteria andSerialIdEqualTo(Integer value) {
            addCriterion("serial_id =", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotEqualTo(Integer value) {
            addCriterion("serial_id <>", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdGreaterThan(Integer value) {
            addCriterion("serial_id >", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("serial_id >=", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdLessThan(Integer value) {
            addCriterion("serial_id <", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdLessThanOrEqualTo(Integer value) {
            addCriterion("serial_id <=", value, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdIn(List<Integer> values) {
            addCriterion("serial_id in", values, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotIn(List<Integer> values) {
            addCriterion("serial_id not in", values, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdBetween(Integer value1, Integer value2) {
            addCriterion("serial_id between", value1, value2, "serialId");
            return (Criteria) this;
        }

        public Criteria andSerialIdNotBetween(Integer value1, Integer value2) {
            addCriterion("serial_id not between", value1, value2, "serialId");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkIsNull() {
            addCriterion("primary_network is null");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkIsNotNull() {
            addCriterion("primary_network is not null");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkEqualTo(String value) {
            addCriterion("primary_network =", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkNotEqualTo(String value) {
            addCriterion("primary_network <>", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkGreaterThan(String value) {
            addCriterion("primary_network >", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkGreaterThanOrEqualTo(String value) {
            addCriterion("primary_network >=", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkLessThan(String value) {
            addCriterion("primary_network <", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkLessThanOrEqualTo(String value) {
            addCriterion("primary_network <=", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkLike(String value) {
            addCriterion("primary_network like", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkNotLike(String value) {
            addCriterion("primary_network not like", value, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkIn(List<String> values) {
            addCriterion("primary_network in", values, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkNotIn(List<String> values) {
            addCriterion("primary_network not in", values, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkBetween(String value1, String value2) {
            addCriterion("primary_network between", value1, value2, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andPrimaryNetworkNotBetween(String value1, String value2) {
            addCriterion("primary_network not between", value1, value2, "primaryNetwork");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1IsNull() {
            addCriterion("commission_rate1 is null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1IsNotNull() {
            addCriterion("commission_rate1 is not null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1EqualTo(BigDecimal value) {
            addCriterion("commission_rate1 =", value, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1NotEqualTo(BigDecimal value) {
            addCriterion("commission_rate1 <>", value, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1GreaterThan(BigDecimal value) {
            addCriterion("commission_rate1 >", value, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate1 >=", value, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1LessThan(BigDecimal value) {
            addCriterion("commission_rate1 <", value, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1LessThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate1 <=", value, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1In(List<BigDecimal> values) {
            addCriterion("commission_rate1 in", values, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1NotIn(List<BigDecimal> values) {
            addCriterion("commission_rate1 not in", values, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate1 between", value1, value2, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andCommissionRate1NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate1 not between", value1, value2, "commissionRate1");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkIsNull() {
            addCriterion("secondary_network is null");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkIsNotNull() {
            addCriterion("secondary_network is not null");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkEqualTo(String value) {
            addCriterion("secondary_network =", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkNotEqualTo(String value) {
            addCriterion("secondary_network <>", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkGreaterThan(String value) {
            addCriterion("secondary_network >", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkGreaterThanOrEqualTo(String value) {
            addCriterion("secondary_network >=", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkLessThan(String value) {
            addCriterion("secondary_network <", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkLessThanOrEqualTo(String value) {
            addCriterion("secondary_network <=", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkLike(String value) {
            addCriterion("secondary_network like", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkNotLike(String value) {
            addCriterion("secondary_network not like", value, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkIn(List<String> values) {
            addCriterion("secondary_network in", values, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkNotIn(List<String> values) {
            addCriterion("secondary_network not in", values, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkBetween(String value1, String value2) {
            addCriterion("secondary_network between", value1, value2, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andSecondaryNetworkNotBetween(String value1, String value2) {
            addCriterion("secondary_network not between", value1, value2, "secondaryNetwork");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2IsNull() {
            addCriterion("commission_rate2 is null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2IsNotNull() {
            addCriterion("commission_rate2 is not null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2EqualTo(BigDecimal value) {
            addCriterion("commission_rate2 =", value, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2NotEqualTo(BigDecimal value) {
            addCriterion("commission_rate2 <>", value, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2GreaterThan(BigDecimal value) {
            addCriterion("commission_rate2 >", value, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate2 >=", value, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2LessThan(BigDecimal value) {
            addCriterion("commission_rate2 <", value, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2LessThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate2 <=", value, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2In(List<BigDecimal> values) {
            addCriterion("commission_rate2 in", values, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2NotIn(List<BigDecimal> values) {
            addCriterion("commission_rate2 not in", values, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate2 between", value1, value2, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andCommissionRate2NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate2 not between", value1, value2, "commissionRate2");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkIsNull() {
            addCriterion("level3_network is null");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkIsNotNull() {
            addCriterion("level3_network is not null");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkEqualTo(String value) {
            addCriterion("level3_network =", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkNotEqualTo(String value) {
            addCriterion("level3_network <>", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkGreaterThan(String value) {
            addCriterion("level3_network >", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkGreaterThanOrEqualTo(String value) {
            addCriterion("level3_network >=", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkLessThan(String value) {
            addCriterion("level3_network <", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkLessThanOrEqualTo(String value) {
            addCriterion("level3_network <=", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkLike(String value) {
            addCriterion("level3_network like", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkNotLike(String value) {
            addCriterion("level3_network not like", value, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkIn(List<String> values) {
            addCriterion("level3_network in", values, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkNotIn(List<String> values) {
            addCriterion("level3_network not in", values, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkBetween(String value1, String value2) {
            addCriterion("level3_network between", value1, value2, "level3Network");
            return (Criteria) this;
        }

        public Criteria andLevel3NetworkNotBetween(String value1, String value2) {
            addCriterion("level3_network not between", value1, value2, "level3Network");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3IsNull() {
            addCriterion("commission_rate3 is null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3IsNotNull() {
            addCriterion("commission_rate3 is not null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3EqualTo(BigDecimal value) {
            addCriterion("commission_rate3 =", value, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3NotEqualTo(BigDecimal value) {
            addCriterion("commission_rate3 <>", value, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3GreaterThan(BigDecimal value) {
            addCriterion("commission_rate3 >", value, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate3 >=", value, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3LessThan(BigDecimal value) {
            addCriterion("commission_rate3 <", value, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3LessThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate3 <=", value, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3In(List<BigDecimal> values) {
            addCriterion("commission_rate3 in", values, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3NotIn(List<BigDecimal> values) {
            addCriterion("commission_rate3 not in", values, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate3 between", value1, value2, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andCommissionRate3NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate3 not between", value1, value2, "commissionRate3");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkIsNull() {
            addCriterion("level4_network is null");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkIsNotNull() {
            addCriterion("level4_network is not null");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkEqualTo(String value) {
            addCriterion("level4_network =", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkNotEqualTo(String value) {
            addCriterion("level4_network <>", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkGreaterThan(String value) {
            addCriterion("level4_network >", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkGreaterThanOrEqualTo(String value) {
            addCriterion("level4_network >=", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkLessThan(String value) {
            addCriterion("level4_network <", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkLessThanOrEqualTo(String value) {
            addCriterion("level4_network <=", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkLike(String value) {
            addCriterion("level4_network like", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkNotLike(String value) {
            addCriterion("level4_network not like", value, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkIn(List<String> values) {
            addCriterion("level4_network in", values, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkNotIn(List<String> values) {
            addCriterion("level4_network not in", values, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkBetween(String value1, String value2) {
            addCriterion("level4_network between", value1, value2, "level4Network");
            return (Criteria) this;
        }

        public Criteria andLevel4NetworkNotBetween(String value1, String value2) {
            addCriterion("level4_network not between", value1, value2, "level4Network");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4IsNull() {
            addCriterion("commission_rate4 is null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4IsNotNull() {
            addCriterion("commission_rate4 is not null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4EqualTo(BigDecimal value) {
            addCriterion("commission_rate4 =", value, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4NotEqualTo(BigDecimal value) {
            addCriterion("commission_rate4 <>", value, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4GreaterThan(BigDecimal value) {
            addCriterion("commission_rate4 >", value, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate4 >=", value, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4LessThan(BigDecimal value) {
            addCriterion("commission_rate4 <", value, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4LessThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate4 <=", value, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4In(List<BigDecimal> values) {
            addCriterion("commission_rate4 in", values, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4NotIn(List<BigDecimal> values) {
            addCriterion("commission_rate4 not in", values, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate4 between", value1, value2, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andCommissionRate4NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate4 not between", value1, value2, "commissionRate4");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkIsNull() {
            addCriterion("level5_network is null");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkIsNotNull() {
            addCriterion("level5_network is not null");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkEqualTo(String value) {
            addCriterion("level5_network =", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkNotEqualTo(String value) {
            addCriterion("level5_network <>", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkGreaterThan(String value) {
            addCriterion("level5_network >", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkGreaterThanOrEqualTo(String value) {
            addCriterion("level5_network >=", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkLessThan(String value) {
            addCriterion("level5_network <", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkLessThanOrEqualTo(String value) {
            addCriterion("level5_network <=", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkLike(String value) {
            addCriterion("level5_network like", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkNotLike(String value) {
            addCriterion("level5_network not like", value, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkIn(List<String> values) {
            addCriterion("level5_network in", values, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkNotIn(List<String> values) {
            addCriterion("level5_network not in", values, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkBetween(String value1, String value2) {
            addCriterion("level5_network between", value1, value2, "level5Network");
            return (Criteria) this;
        }

        public Criteria andLevel5NetworkNotBetween(String value1, String value2) {
            addCriterion("level5_network not between", value1, value2, "level5Network");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5IsNull() {
            addCriterion("commission_rate5 is null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5IsNotNull() {
            addCriterion("commission_rate5 is not null");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5EqualTo(BigDecimal value) {
            addCriterion("commission_rate5 =", value, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5NotEqualTo(BigDecimal value) {
            addCriterion("commission_rate5 <>", value, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5GreaterThan(BigDecimal value) {
            addCriterion("commission_rate5 >", value, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate5 >=", value, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5LessThan(BigDecimal value) {
            addCriterion("commission_rate5 <", value, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5LessThanOrEqualTo(BigDecimal value) {
            addCriterion("commission_rate5 <=", value, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5In(List<BigDecimal> values) {
            addCriterion("commission_rate5 in", values, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5NotIn(List<BigDecimal> values) {
            addCriterion("commission_rate5 not in", values, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate5 between", value1, value2, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCommissionRate5NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("commission_rate5 not between", value1, value2, "commissionRate5");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}